local lhs "cog"
local rhs "hours"
local robust "simple"
local controls "${CONTROLlist_`lhs'}"
local subsample = "$subsample"
local type "hom"

use "$datapath/000_`type'_byK.dta", clear
gen ub=b_HetSymm + 1.96*se_HetSymm
gen lb=b_HetSymm - 1.96*se_HetSymm

twoway (line b_HetSymm Kcluster, lcolor(black)) || (rarea lb ub Kcluster, color(gs2%50)), yscale(range(-0.08 .02)) ylabel(-0.08(.02)0.02) xtitle(K) ytitle("{&beta}") legend(off) scheme(s1mono)
graph export "$figpath/b_`type'_byK.pdf", replace
